package org.sws.domain.credit.model.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.sws.domain.award.model.valobj.AccountStatusVO;

import java.math.BigDecimal;

/**
 * @author sws
 * @description 积分账户实体
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CreditAccountEntity {

    /** 用户ID */
    private String userId;
    /** 可用积分，每次扣减的值 */
    private BigDecimal adjustAmount;
    private BigDecimal totalAmount;
    private BigDecimal availableAmount;
    private AccountStatusVO accountStatus;

}
